#pragma once

#include "PhysicObject.h"

class PhysicCollisionDetection{
private:
	bool Detection(PhysicRigidBody *a_RigidBody_1, PhysicRigidBody *a_RigidBody_2);
	bool Detection_Circle_Circle(PhysicRigidBody *a_RigidBody_1, PhysicRigidBody *a_RigidBody_2);
	bool Detection_Square_Square(PhysicRigidBody *a_RigidBody_1, PhysicRigidBody *a_RigidBody_2);
	bool Detection_Circle_Square(PhysicRigidBody *a_RigidBody_1, PhysicRigidBody *a_RigidBody_2);
	bool Detection_Square_Circle(PhysicRigidBody *a_RigidBody_1, PhysicRigidBody *a_RigidBody_2);
public:
	PhysicCollisionDetection();
	~PhysicCollisionDetection();

	void Update(PhysicRigidBody *a_RigidBody, LinkedList<PhysicRigidBody *> *a_RigidBodyList);
};